<?php
declare (strict_types=1);

namespace app\common\listener;

use app\common\model\Statistics as StatisticsModel;

class Statistics
{
    public function handle($data): void
    {
        StatisticsModel::_update($data['key'], $data['value']);
    }
}